package com.wt.admin.service;

import com.wt.admin.entity.LoginAccount;
import com.wt.admin.entity.Register;
import com.wt.admin.entity.SmsCode;
import com.wt.admin.entity.WqunAccount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wt.commonutils.R;

/**
 * <p>
 * 账号表 服务类
 * </p>
 *
 * @author wt
 * @since 2023-07-31
 */
public interface WqunAdminService extends IService<WqunAccount> {
    boolean registerAccount(Register register);//账号注册

    boolean phoneYetRegister(String phone);//账号是否已经注册


    void legalPass(String pass);//密码是否符合规格

    void legalPhone(String phone);//手机号是否符合規格

    String loginCode(SmsCode smsCode);//验证码登录

    String loginAccount(LoginAccount loginAccount);//账号密码登录

    R findAccountPage(int pageSize,int currentPage,String selectFind,String selectFindValue);
}
